Skip to content

docs: Add Summary.to_json()#33

Merged
Marius Merkle (MariusMerkleQC) merged 1 commit intomainfrom
to_json_docs
Apr 14, 2026
Merged

docs: Add Summary.to_json()#33
Marius Merkle (MariusMerkleQC) merged 1 commit intomainfrom
to_json_docs

Conversation

@MariusMerkleQC
Copy link
Copy Markdown
Collaborator

@MariusMerkleQC Marius Merkle (MariusMerkleQC) commented Apr 14, 2026

Motivation

Forgot to add documentation and an example in #28.

Changes

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Apr 14, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (adb1d3a) to head (7a4477c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #33   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines          930       930           
=========================================
  Hits           930       930           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds missing documentation for the Summary.to_json() API introduced in #28, so it appears in the generated docs and includes a concrete JSON output example.

Changes:

  • Add Summary.to_json to the Sphinx autosummary listing for the Summary API docs.
  • Expand Summary.to_json() docstring with json.dumps kwargs guidance and an example JSON payload.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
docs/api/summary.rst Exposes Summary.to_json in the generated API documentation.
diffly/summary.py Improves Summary.to_json() docstring with kwargs details and an example JSON output.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MariusMerkleQC Marius Merkle (MariusMerkleQC) merged commit a835f7e into main Apr 14, 2026
24 checks passed
@MariusMerkleQC Marius Merkle (MariusMerkleQC) deleted the to_json_docs branch April 14, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants